import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {SiteDevicesComponent} from './site-devices.component';
import {SiteDevicesAddComponent} from "./site-devices-add/site-devices-add.component";
import {SiteDevicesUpdateComponent} from "./site-devices-update/site-devices-update.component";
import {SiteDevicePollutantComponent} from "./site-device-pollutant/site-device-pollutant.component";
import {DeviceAssignSiteComponent} from './device-assign-site/device-assign-site.component';


const routes: Routes = [
  {
    path: "",
    component: SiteDevicesComponent
  },
  {
    path :"add",
    component :SiteDevicesAddComponent
  },
  {
    path :"update",
    component :SiteDevicesUpdateComponent
  },
  {
    path :"pollutant",
    component :SiteDevicePollutantComponent
  },
  {
    path :"assign-site",
    component :DeviceAssignSiteComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SiteDevicesRoutingModule { }
